package com.tutu.model.bean;

/**
 * @author 图图 2020/10/10
 *
 * 用户基本信息
 */
public class UserInfo {
    // 用户名
    private  String username;
    // 用户密码
    private  String userpwd;
    // 环信ID
    private  String hxid;
    // 用户昵称
    private  String nick;
    // 用户头像
    private String photo;
    // 用户手机号
    private  String phone;
    //用户邮箱
    private  String email;
    //用户性别 0 女生  1 男生
    private int gender;
    //用户真实姓名
    private String realname;

    public UserInfo() {
    }

    public UserInfo(String hxid) {
        this.username = hxid;
        this.hxid = hxid;
        this.nick = hxid;
    }

    public UserInfo(String username, String userpwd, String hxid) {
        this.username = username;
        this.userpwd = userpwd;
        this.hxid = hxid;
    }

    public UserInfo(String username, String hxid, String nick, String photo) {
        this.username = username;
        this.hxid = hxid;
        this.nick = nick;
        this.photo = photo;
    }

    public UserInfo(String username, String hxid, String nick, String photo, String phone, String email, int gender, String realname) {
        this.username = username;
        this.hxid = hxid;
        this.nick = nick;
        this.photo = photo;
        this.phone = phone;
        this.email = email;
        this.gender = gender;
        this.realname = realname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd;
    }

    public String getHxid() {
        return hxid;
    }

    public void setHxid(String hxid) {
        this.hxid = hxid;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "username='" + username + '\'' +
                ", userpwd='" + userpwd + '\'' +
                ", hxid='" + hxid + '\'' +
                ", nick='" + nick + '\'' +
                ", photo='" + photo + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", gender=" + gender +
                ", realname='" + realname + '\'' +
                '}';
    }
}
